package com.hejun.myjedis;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "jedis")
@Data
public class JedisProperties {
    Integer port=6379;
    String ip="lcalhost:";
    String userName;
    String pwd;

}
